package com.bawei.module_launcher.splash.model

import com.bawei.library_net.RetrofitManager
import com.bw.launcher.splash.entity.LockEntity
import com.bw.launcher.splash.entity.WhiteResponseEntity
import retrofit2.http.POST

/**
 * @Author : 
 * @Time : On 2023/7/24 16:24
 * @Description : SplashService
 */
class SplashService {
    private val api:SplashApi
    init {
        api = RetrofitManager.instance.create(SplashApi::class.java)
    }
    suspend fun requestWhite(): WhiteResponseEntity{
        return api.requestWhite()
    }

    suspend fun requestLock(): LockEntity{
        return api.requestLock()
    }
}